home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / pascal / tpu6.zip / TP6UTIL.DOC next >
Text File  |  1990-11-20  |  4KB  |  99 lines

  1. Turbo Pascal 6.0 Utilities
  2. --------------------------
  3. Copyright (C) 1990 J.P. Ritchey
  4. Portions Copyright (C) 1990 Borland International
  5.  
  6. Author:
  7. Pat Ritchey
  8. CIS ID [72537,2420]
  9.  
  10. TPCONFIG.EXE
  11. ============
  12. TPCONFIG is a utility program that performs the same function as the
  13. Borland program by the same name that was included with versions of
  14. Turbo Pascal prior to 6.0.
  15.  
  16. This utility will take your IDE configuration file (TURBO.TP) and create
  17. a configuration file (TPC.CFG) for use with the command line compiler.
  18. It will also take as input a TPC.CFG file and update your TURBO.TP file
  19. to reflect the options contained in the TPC.CFG file.
  20.  
  21. Note that TURBO.TP and TPC.CFG are the default names. TPCONFIG will
  22. allow you to override these defaults.
  23.  
  24.  
  25.  
  26.  
  27.  
  28. TPUINFO.EXE
  29. ===========
  30. TPUINFO is a utility that will list various facts concerning .TPU files
  31. created by Turbo Pascal v. 6.0. TPUINFO will accept wild cards allowing
  32. a listing of multiple .TPU files within a directory.  A sample execution
  33. of TPUINFO would be:
  34.  
  35. C>TPUINFO d:\TURBO\TVISION
  36. TPUInfo version 6.0  Copyright (C) 1990, J.P. Ritchey
  37.  
  38. Unit         Flags     Init    Code    Data  Actual Name
  39. --------  ------------  ---  ------  ------  -----------
  40. OBJECTS   $N-,O+,D-,L-         8298     456
  41. DRIVERS   $N-,O-,D-,L-  Yes    2775     734
  42. MEMORY    $N-,O+,D-,L-          559      10
  43. VIEWS     $N-,O+,D-,L-        21866     864
  44. HISTLIST  $N-,O+,D-,L-          489      14
  45. MENUS     $N-,O+,D-,L-         9615     414
  46. DIALOGS   $N-,O+,D-,L-        12607    1372
  47. COLORSEL  $N-,O+,D-,L-         6894     622
  48. APP       $N-,O+,D-,L-         3561     628
  49. MSGBOX    $N-,O+,D-,L-         1463      84
  50. STDDLG    $N-,O+,D-,L-        12040     932
  51. TEXTVIEW  $N-,O+,D-,L-         2495     304
  52.  
  53. The "Unit" column is the name of the .TPU as it is found on disk. This
  54. could differ from the name as it is known to Turbo Pascal. When the
  55. external name differs from the internal name, the internal name is
  56. listed in the column titled "Actual Name".
  57.  
  58. The "Flags" column lists the state of those compiler options that are
  59. detectable by a simple inspection of a .TPU file.
  60.  
  61. The "Init" column will contain "Yes" if the unit contains initialization
  62. code.
  63.  
  64. The "Code" column indicates the number of bytes of code contained within
  65. the .TPU.  Note that due to smart linking, the actual amount of code in
  66. a program that uses the unit could be smaller.
  67.  
  68. The "Data" column indicates the number of bytes of data (both
  69. initialized and unitialized) contained within the .TPU. Once again, due
  70. to smart linking this is the maximum amount of data segment space that
  71. will be used by this unit.
  72.  
  73. TPUINFO has a command line option, Verbose (enabled by specifying /v on
  74. the command line), that will list the source and object files used to
  75. create the .TPU in addition to the information listed when /Verbose is
  76. not specified.  An example follows:
  77.  
  78. C>TPUINFO D:\TURBO\TVISION\DRIVERS /v
  79. TPUInfo version 6.0  Copyright (C) 1990, J.P. Ritchey
  80.  
  81. Unit         Flags     Init    Code    Data  Actual Name
  82. --------  ------------  ---  ------  ------  -----------
  83. DRIVERS   $N-,O-,D-,L-  Yes    2775     734
  84.           PAS  11/05/90 06:00:00a  DRIVERS.PAS
  85.           OBJ                      SYSINT.OBJ
  86.           OBJ                      FORMAT.OBJ
  87.  
  88.  
  89. CPUCHK.PAS
  90. ==========
  91. With the addition of the $G option in Turbo Pascal 6.0, code can be
  92. generated that uses instructions available on the 80286 or later CPUs.
  93. There is no check to see if a machine supports 80286 instructions when
  94. a program is run. With the addition of CPUCHK as the first entry in your
  95. program's uses list, the initialization code of CPUCHK will determine if
  96. the target machine is 8088 or 8086 based and fail with a run-time error
  97. number 215 if the machine doesn't support 80286 instructions.
  98.  
  99.